package com.zj.esproxy.wrapper;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author arthur_zhou
 * @date 2024/4/10 17:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Highlight {

    private String field;

    @JSONField(name = "fragment_size")
    private Integer fragmentSize;

    @JSONField(name = "number_of_fragments")
    private Integer numberOfFragments;
}
